package cuiying.rbac.service;

import cuiying.rbac.domain.dto.UserDto;
import cuiying.rbac.domain.entity.User;
import cuiying.rbac.domain.vo.Result;

/**
 * 业务层接口-部门
 *
 * @author 崔颖
 * @since 2025/5/23 13:34
 */
public interface IUserService extends IBaseService<User, UserDto>{
    boolean deptInUse(int deptId);
    boolean roleInUse(int roleId);

    Result toggle(int id);

}
